package com.qidianit.mes.production.mapper;

import com.qidianit.mes.pojo.Workmanship;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author djl
 * @Time 2024/10/19 9:57
 */
public interface WorkmanshipMapper {
    List<Workmanship> list(String workmanshipRouteId, String workmanshipName, Integer workmanshipStatus);

    Integer addNewWorkmanship(Workmanship workmanship);

    Workmanship selectByWorkmanshipRouteId(String workmanshipRouteId);

    Integer deleteWorkmanship(String workmanshipRouteId);

    Integer editWorkmanship(Workmanship workmanship);

    Integer reDelete(@Param("workmanshipRouteIds")String[] workmanshipRouteIds);

    Workmanship showByWorkmanshipId(Integer workmanshipId);
}
